projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53ae1f5
)
(Fset_buffer_multibyte): Simplify; use list3.
author
Kim F. Storm
<storm@cua.dk>
Fri, 25 Aug 2006 23:33:44 +0000
(23:33 +0000)
committer
Kim F. Storm
<storm@cua.dk>
Fri, 25 Aug 2006 23:33:44 +0000
(23:33 +0000)
src/buffer.c
patch
|
blob
|
history
diff --git
a/src/buffer.c
b/src/buffer.c
index 81ea51b357a6e447148225423e677de8688f5fe3..863b217d2b4058a851f948992ed9913cc0e61934 100644
(file)
--- a/
src/buffer.c
+++ b/
src/buffer.c
@@
-2345,11
+2345,10
@@
current buffer is cleared. */)
{
/* Represent all the above changes by a special undo entry. */
extern Lisp_Object Qapply;
- Lisp_Object args[3];
- args[0] = Qapply;
- args[1] = intern ("set-buffer-multibyte");
- args[2] = NILP (flag) ? Qt : Qnil;
- current_buffer->undo_list = Fcons (Flist (3, args), old_undo);
+ current_buffer->undo_list = Fcons (list3 (Qapply,
+ intern ("set-buffer-multibyte"),
+ NILP (flag) ? Qt : Qnil),
+ old_undo);
}
UNGCPRO;